﻿

using System.Collections.Generic;
using UnityEngine;

namespace com.tdb.foundation
{
    public static class DictionaryExtensions
    {
        public static Dictionary<TKey, TValue> AddOrReplace<TKey, TValue>(this Dictionary<TKey, TValue> dic, TKey key,
            TValue value)
        {
            dic[key] = value;
            return dic;
        }    
    }
}
